<#assign itemList=[
{"title":"","name":"id","value":"","elements":"input","type":"hidden","eleList":[],"verify":"required"},
{"title":"名称","name":"title","value":"","elements":"input","type":"text","eleList":[],"verify":"required"},
{"title":"讲师","name":"teacher","value":"","elements":"input","type":"text","eleList":[],"verify":""},
{"title":"是否CC","name":"ccFlag","value":"0","elements":"input","type":"radio","eleList":[{"code":"0","value":"否"},{"code":"1001","value":"是"}],"verify":""},
{"title":"爱好","name":"hibit","value":"0","elements":"input","type":"checkbox","eleList":[{"code":"0","value":"否"},{"code":"1001","value":"是"}],"verify":""},
{"title":"下拉列表","name":"select","value":"0","elements":"select","type":"","eleList":[{"code":"0","value":"否"},{"code":"1001","value":"是"}],"verify":""},
{"title":"房间ID","name":"roomId","value":"","elements":"input","type":"text","eleList":[],"verify":""},
{"title":"价格","name":"price","value":"0","elements":"input","type":"text","eleList":[],"verify":"integer"}
]/>
<#import "/include/add.ftl" as add>
<@add.add url="" itemList=itemList>

<script>
layui.use(['form', 'layer'], function () {
	var form = layui.form,
        layer = layui.layer;
     form.render();   
	
});
</script>
</@add.add>